package com.atom.common.spring;

import java.beans.Introspector;

import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.AnnotationBeanNameGenerator;

public class AtomAnnotationBeanNameGenerator extends AnnotationBeanNameGenerator {
  @Override
  protected String buildDefaultBeanName(BeanDefinition definition) {
    String className = definition.getBeanClassName();
    System.out.println("className : " + className);
    return Introspector.decapitalize(className);
  }

}
